<div class="clearfix">
    <div class="input">
        <ul>
            <li>
                <?php echo $form[$field]->renderLabel() ?>
            </li>
            <li id="checkbox-input">
                <?php echo $form[$field] ?>
                <?php if ($form[$field]->hasError()): ?>
                    <?php include_partial("common/error", array("form" => $form, "field" => $field, "name_format" => $form->getName())) ?>
                <?php endif; ?>
            </li>
        </ul>
    </div>
</div>